import java.util.Scanner;
class GuessNumber {
    public static void main(String [] args) {
int answer = (int)(Math.random()*100 + 1); 
      System.out.println(answer);}
   {
            System.out.println(" 欢迎来到猜数字！ ");
            Scanner scan = new Scanner(System.in);
            System.out.println(" 请猜⼀个 1-100 之间的整数： ");
            int guess = scan.nextInt();
            System.out.println(guess);
        }
}
